package com.cgnfz.crm.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cgnfz.crm.entity.dto.EmployeeInfo;
import com.cgnfz.crm.entity.vo.request.RegisterVO;
import org.springframework.security.core.userdetails.UserDetailsService;


public interface EmployeeService extends IService<EmployeeInfo>, UserDetailsService {

    //UserDetails loadUserByEmployeeId(String name) throws UsernameNotFoundException;

    EmployeeInfo findAccountByIdOrPhone(String text);

    String registerAccount(RegisterVO vo);


    String resetConfirm(RegisterVO vo);

    String resetPassword(RegisterVO vo);
}
